package com.easycarebn.request.data;

import java.io.Serializable;
import java.util.ArrayList;

import android.text.TextUtils;

public class DoctorInfo {
	private int id;
	private String avatar;
	private String name;
	private ArrayList<String> speciality; // for doctor
	private ArrayList<String> clinictype; // for clinic
	private ArrayList<String> servicetype; // for home service
	private String position;
	private String clinicname_default;
	private String rating;
	private String comment;
	private String address_default;
	private String map_position_default;
	private String address;
	private String map_position;
	private Booking booking;

	public static class Booking implements Serializable {
		private String flat;
		private String phonesupport;
		private String neardate;
		private String showneardate;

		public String getShowneardate() {
			return showneardate;
		}

		public String getNeardate() {
			return neardate;
		}

		public String getPhonesupport() {
			return phonesupport;
		}
	}

	public String getMapPositionDefault() {
		return map_position_default;
	}

	public String getMapPosition() {
		return map_position;
	}

	public String getAvatar() {
		return avatar;
	}

	public String getAddressDefault() {
		return address_default;
	}

	public String getAddress() {
		return address;
	}

	public String getClinicname() {
		return clinicname_default;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getPosition() {
		return position;
	}

	public float getRating() {
		if (TextUtils.isEmpty(rating)) {
			return 0;
		}
		return Float.valueOf(rating);
	}

	public ArrayList<String> getSpeciality() {
		return speciality;
	}

	public Booking getBooking() {
		return booking;
	}

	public ArrayList<String> getClinictype() {
		return clinictype;
	}

	public ArrayList<String> getServicetype() {
		return servicetype;
	}
}
